package com.ganle.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import com.ganle.domain.DwDeliveryDetail;
import com.ganle.service.DwDeliveryDetailService;

@Controller 
public class DwDeliveryDetailController {

		@Autowired
		DwDeliveryDetailService service;
		
		
	    @RequestMapping("/")    
	    public ModelAndView getIndex(){      
	        ModelAndView mav = new ModelAndView("index122");   
	        DwDeliveryDetail one = service.selectOne(10);  
	        mav.addObject("one", one);   
	        return mav;    
	        
	    }    
		
		
}

